let message: string = 'hello typescript'
console.log(message);

function foo(payload: string) {
    console.log(payload.length);
}
foo('aaa')

// tsc xx.ts 将ts转为js
export {}